package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * VOCs管理台账
 * </p>
 *
 * @author zs
 * @since 2021-04-23
 */
@TableName("voc_management_ledger")
public class VocManagementLedger implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("company_id")
    private Integer companyId;

    /**
     * 台账是否完善  默认完善
     */
    @TableField("is_perfect")
    private Integer isPerfect;

    /**
     * 未完善原因
     */
    @TableField("reason")
    private String reason;

    /**
     * 存在问题
     */
    @TableField("problem")
    private String problem;

    /**
     * 整改计划
     */
    @TableField("rectification_plan")
    private String rectificationPlan;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("del_flag")
    private Integer delFlag;

    /**
     * VOCs原辅料台账
     */
    @TableField("accessories_ledger")
    private String accessoriesLedger;

    /**
     * 废气治理设施运行台账
     */
    @TableField("facility_ledger")
    private String facilityLedger;

    /**
     * 危废台账
     */
    @TableField("danger_ledger")
    private String dangerLedger;


    /**
     * 计划完成时间
     */
    @TableField("plan_time")
    private String planTime;


    public String getPlanTime() {
        return planTime;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getIsPerfect() {
        return isPerfect;
    }

    public void setIsPerfect(Integer isPerfect) {
        this.isPerfect = isPerfect;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getRectificationPlan() {
        return rectificationPlan;
    }

    public void setRectificationPlan(String rectificationPlan) {
        this.rectificationPlan = rectificationPlan;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getAccessoriesLedger() {
        return accessoriesLedger;
    }

    public void setAccessoriesLedger(String accessoriesLedger) {
        this.accessoriesLedger = accessoriesLedger;
    }

    public String getFacilityLedger() {
        return facilityLedger;
    }

    public void setFacilityLedger(String facilityLedger) {
        this.facilityLedger = facilityLedger;
    }

    public String getDangerLedger() {
        return dangerLedger;
    }

    public void setDangerLedger(String dangerLedger) {
        this.dangerLedger = dangerLedger;
    }

    @Override
    public String toString() {
        return "VocManagementLedger{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", isPerfect=" + isPerfect +
        ", reason=" + reason +
        ", problem=" + problem +
        ", rectificationPlan=" + rectificationPlan +
        ", createTime=" + createTime +
        ", delFlag=" + delFlag +
        ", accessoriesLedger=" + accessoriesLedger +
        ", facilityLedger=" + facilityLedger +
        ", dangerLedger=" + dangerLedger +
                ", planTime=" + planTime +
        "}";
    }
}
